@charset "utf-8";
@import "reset";
@import "common";
@import "article_detail";
$font-size:64px;
html{
    font-size: 64px;
}
@function r($px){
    @return $px/$font-size*1rem;
}
.article{
    position: absolute;
    top: r(90px);
    width: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    bottom: r(95px);
    -webkit-overflow-scrolling: touch;
    .nav-title{
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: r(100px);
        background: rgba(0,0,0,.3);
        font-size: 0;
        .nav-bottom{
            padding-left: r(26px);
            padding-right: r(23px);
            padding-top: r(25px);
            text-align: center;
            span{
                font-size: 13px;
                color:#FFFFFF; 
                &:first-of-type{
                    background: #b20000;
                }
            }
        }
    }
    .article-box{
        width: 100%;
        padding: r(20px) r(29px) 0 r(28px);
        font-size:0;
        display: flex;
        justify-content: space-between;
        flex-wrap:wrap ;
        .article-text{
            width: r(282px);
            height: r(343px);
            background: #f6f6f6;
            font-size: 0;
            display: inline-block;
            margin-bottom: r(22px);
            img{
                width: r(282px);
                height: r(182px);
            }
            p{
                padding-top: r(15px);
                font-size: 12px;
                overflow: hidden;
                 text-overflow: ellipsis;
                 -webkit-line-clamp: 2;
                 -webkit-box-orient: vertical;
                 display: -webkit-box;
                 font-weight: bold;
            }
            .article-marketing{
                padding: r(15px) r(9px) r(14px) r(7px);
                font-size: 0;
                a{
                    width: r(88px);
                    height: r(27px);
                    background: #b20000;
                    color: #FFFFFF;
                    border-radius: 5px;
                    font-size: 12px;
                    text-align: center;
                    display: inline-block;
                    vertical-align: middle;
                }
                i{
                    color: #c5c5c5;
                    display: inline-block;
                    vertical-align: middle;
                    padding-left: r(16px);
                    font-size: r(17px);
                    &:first-of-type{
                        padding-left: r(20px);
                    }
                }
                span{
                    display: inline-block;
                    vertical-align: middle;
                    font-size: r(17px);
                }
            }
            section{
                padding:0  r(9px) 0 r(7px);
                font-size: 0;
                div{
                    width: r(35px);
                    height: r(35px);
                    background: #dedede;
                    display: inline-block;
                    vertical-align: middle;
                    img{
                        width: r(35px);
                        height: r(35px);
                    }
                }
                span{
                    color: #c5c5c5;
                    font-size: 12px;
                    display: inline-block;
                    vertical-align: middle;
                }
                .username{
                    padding-left: r(8px);
                }
                .time{
                    padding-left: r(6px);
                }
            }
        }
    }
    .load{
        width: 100%;
        padding: r(19px) r(30px) r(33px) r(29px);
        text-align: center;
        border-top: 1px solid #e6e6e6;
        a{
            display:block;
            color:#bbbbbb;
            font-size:22px;
        }
    }
}

